﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MedicService.Domain.Print {
    public class Types {
        public static string GetType(Type type) {
            if (type is PrintAttestatProtocol) {
                return "Протокол аттестационной комиссии";
            } else if (type is PrintExtract) {
                return "Выписка";
            } else if (type is PrintOrder) {
                return "Приказ";
            } else if (type is PrintProfileProtocol) {
                return "Протокол профильной комиссии";
            } else if (type is PrintSertificate) {
                return "Справка";
            } else {
                throw new NotImplementedException("Unknown type");
            }
        }
    }
}